package com.youhome.service;

import com.github.pagehelper.PageInfo;
import com.youhome.model.BClient;

/**
 * Created by chen365 on 2018/09/17.
 */
public interface ClientService {
    int deleteByPrimaryKey(Long clientId);

    int insert(BClient record);

    int insertSelective(BClient record);

    BClient selectByPrimaryKey(Long clientId);

    PageInfo<BClient> selectByBean(Integer pageNumber, Integer pageSize, BClient record);

    int updateByPrimaryKeySelective(BClient record);

    int updateByPrimaryKey(BClient record);

    int updateByClientIdAndCounselorId(BClient record);

    int deleteByClientIdAndCounselorId(BClient bClient);

    boolean selectExistsByPrimaryKey(Long clientId);
}
